package com.jdz.pojo;

import java.util.Date;

public class Privilege {
    private Integer permno;

    private String permname;

    private String permission;

    private Date creattime;

    public Privilege(Integer permno, String permname, String permission, Date creattime) {
        this.permno = permno;
        this.permname = permname;
        this.permission = permission;
        this.creattime = creattime;
    }

    public Privilege() {
        super();
    }

    public Integer getPermno() {
        return permno;
    }

    public void setPermno(Integer permno) {
        this.permno = permno;
    }

    public String getPermname() {
        return permname;
    }

    public void setPermname(String permname) {
        this.permname = permname == null ? null : permname.trim();
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission == null ? null : permission.trim();
    }

    public Date getCreattime() {
        return creattime;
    }

    public void setCreattime(Date creattime) {
        this.creattime = creattime;
    }
}